<#--<#include "../../layout/base.ftl">-->
<#--<#macro header>-->
<#--<script type="text/javascript" src="${base}/easyui/js/main.js"></script>-->
<#--<script type="text/javascript" src="${base}/scripts/tool/jquery.keepAlive.js"></script>-->
<#--<script type="text/javascript" src="${base}/scripts/index/dbrw.js"></script>-->
<#--<script type="text/javascript" src="${base}/scripts/index/dbsfrw.js"></script>-->
<#--<script type="text/javascript" src="${base}/scripts/index/ybrw.js"></script>-->
<#--<script type="text/javascript" src="${base}/scripts/index/lczs.js"></script>-->
<#--<script type="text/javascript" src="${base}/scripts/highcharts/highcharts.js"></script>-->
<#--<script type="text/javascript" src="${base}/scripts/index/bbtx.js"></script>-->
<#--<script type="text/javascript" src="${base}/scripts/index/onlineuser.js"></script>-->
<script type="text/javascript">
    var _tyfzhsmc = {
    <#list tyfzhsmcList as temp>
        "${(temp.mc?trim)!}": "${(temp.code?trim)!}"<#if temp_has_next>,</#if>
    </#list>
    };
    var _tyfzhsmcId = {
    <#list tyfzhsmcList as temp>
        "${(temp.mc?trim)!}": ${(temp.id)!}<#if temp_has_next>,</#if>
    </#list>
    };
</script>
<script type="text/javascript" src="${base}/scripts/cwgl/qtpz/qtpz_content.js"></script>
<#--</#macro>-->
<#--<#macro body>-->
<div id="qtpzcontent_toolbar">
    <div class="textcon">
        <form id="form_qtpz" action="${base}/cwgl/qtpz/qtpz" method="post">
            <input name="qtpz.id" type="hidden" value="${(qtpz.id)!}">
            <table style="width:100%" class="tb tab-t">
                <col width="10%"/>
                <col/>
                <col width="10%"/>
                <col/>
                <col width="10%"/>
                <col/>
                <tr>
                    <th>公司：</th>
                    <td>
                        <input name="qtpz.nbgs.id" type="text" value="${(qtpz.nbgs.id)!}"
                               class="easyui-combotree input-text"
                               data-options="required:true,url:'${base}/organ/gsjg/gsjg_tree?type=1',panelHeight:'200',editable:'true',loadFilter: function (rows) {return convert(rows);}"/>
                    </td>
                    <th>字号：</th>
                    <td>
                        <input type="text" name="qtpz.zh" class="easyui-combobox input-text" value="${(qtpz.zh)!}"
                               data-options="valueField: 'name',textField: 'name',required:true,panelHeight:100,url:'${base}/cwgl/qtpz/pzz'"/>
                    </td>
                    <th>制单时间：</th>
                    <td>
                        <input name="qtpz.zdrq" type="text" class="easyui-datebox input-text"
                               data-options="required:true"
                               value="<#if qtpz??>${(qtpz.zdrq)!?string("yyyy-MM-dd")}<#else>${(date)?string("yyyy-MM-dd")}</#if>"/>
                    </td>
                </tr>
                <tr>
                    <th>制单人：</th>
                    <td>
                        <input class="input-text"
                               value="<#if qtpz??&&operation=="modify">${(qtpz.createUser.xm)!}<#else>${(createUser)!}</#if>"/>
                    </td>
                    <th>附单据数：</th>
                    <td>
                        <input name="qtpz.fdjs" class="easyui-numberbox input-text" value="${(qtpz.fdjs)!}"
                               data-options="required:true,min:0,precision:0"/>
                    </td>
                    <th>备注：</th>
                    <td>
                        <input name="qtpz.bz" class="input-text" value="${(qtpz.bz)!}"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <div class="PTools">
        <ul class="niu">
            <li><a name="xzfl" href="javascript:void(0);" plain="true">新增</a></li>
            <li><a name="scfl" href="javascript:void(0);" class="del" plain="true">删除</a></li>
        </ul>
    </div>
</div>
<table id="qtpzcontent_edatagrid"></table>
<#--</#macro>-->

